home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / ansi_111.arc / ANSI_CHK.DOC < prev   
Text File  |  1987-03-04  |  2KB  |  55 lines

  1.  
  2.                 ANSI_CHK : Check for ANSI Device Driver Program
  3.                            Version 1.11, 04-Mar-1987
  4.                                   SMG Software
  5.  
  6.                            (C) Copyright 1986,1987 by
  7.                                Steven Georgiades
  8.                               All Rights Reserved
  9.  
  10.                          
  11.  
  12.          This  program  will  check  to see if an  ANSI  Device  Driver  is 
  13.     installed in your system.  This program will detect the presence of any 
  14.     ANSI Device Driver that supports the Device Status Report command  (ESC 
  15.     [6n).    This  program  can  be used within a  batch  file  to  perform 
  16.     conditional  branches  depending  on the presence  or  absence  of  the 
  17.     ANSI.SYS device driver.  The source code can also be used as a model to 
  18.     make  your  programs  detect the presence of  ANSI.SYS.    I   have  no 
  19.     complaints about you lifting the subroutine "ANSI_CHK"  from the source 
  20.     code as-is, just so long as you do not remove the message indicating my 
  21.     authorship of the routine.   This code could easily be adapted to  work 
  22.     with virtually any high-level language.  
  23.  
  24.  
  25.     Command Format:
  26.  
  27.          ANSI_CHK
  28.  
  29.     
  30.     Revision History:
  31.  
  32.          Version 1.00        Initial Release
  33.  
  34.          Version 1.10        Changed method for detecting ANSI.SYS
  35.  
  36.          Version 1.11        Fixed bug for correct return code
  37.  
  38.  
  39.     -----------------------------------------------------------------------
  40.  
  41.          This software is hereby released into the public domain,  and  may 
  42.     therefore be freely copied and distributed.  
  43.  
  44.     This program is provided AS  IS  without  any  warranty,  expressed  or 
  45.     implied,  including  but  not  limited  to  fitfulness for a particular 
  46.     purpose.  
  47.     
  48.          If  you have any questions or comments about this or any other SMG 
  49.     program, write to me at the following address: 
  50.  
  51.               Steven M. Georgiades
  52.               SMG Software
  53.               701-H South Hayward Street
  54.               Anaheim, CA  92804
  55.